package com.candy.service.impl;

import com.candy.bean.DishInfo;
import com.candy.dao.DishInfoMapper;
import com.candy.service.GetDishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GetDishInfoServiceImpl implements GetDishInfoService {
    @Autowired
    DishInfoMapper dishInfoMapper;
    @Override
    public List<DishInfo> getDishInfo(DishInfo dishInfo) {
        return dishInfoMapper.getdishinfo(dishInfo);
    }
}
